package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 出入库物流表
 * </p>
 *
 * @author WEN
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjStoreLogistics对象", description="出入库物流表")
public class ZjStoreLogistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "出/入库表ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "出入库类型：1-入库，2-出库")
    private Integer type;

    @ApiModelProperty(value = "物流公司")
    private String company;

    @ApiModelProperty(value = "物流编码")
    private String code;

    @ApiModelProperty(value = "物流状态：1-待揽件、2-已揽件、3-待收件，4-已收件，5-派送中、6-待签收，7-已签收、8-已完成，9-已作废")
    private Integer status;

    @ApiModelProperty(value = "物流单号")
    private String logisticsNo;

    @ApiModelProperty(value = "入/出库单单号")
    private String storeOutboundCode;

    @ApiModelProperty(value = "发货时间")
    private Date sendTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtUpdate;


}
